package com.pet.api.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "商品信息实体")
public class ItemDTO {
    @ApiModelProperty(value = "商品id")
    private Integer id;

    @ApiModelProperty(value = "商店id")
    private Integer storeId;

    @ApiModelProperty(value = "商品标题")
    private String title;

    @ApiModelProperty(value = "价格(分)")
    private Integer price;

    @ApiModelProperty(value = "库存数量")
    private Integer stock;

    @ApiModelProperty(value = "商品图片")
    private String image;

    @ApiModelProperty(value = "商品状态 1-正常 2-下架 3-删除")
    private Integer status;
}
